<%@ Page Language="VB" MasterPageFile="~/main.master" AutoEventWireup="false" CodeFile="ShowVouchers.aspx.vb" Inherits="ShowVouchers" title="Vouchers- Medini Accounts" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">


<table border="0" width="100%" style="text-align:left; padding-left:20px; font-size:10pt;">

    <tr>
        <td >
            <h2><asp:Label ID="lblHeader" runat="server" Text="Cash Reciepts"></asp:Label></h2>
            <br />
        </td>
    </tr>
    
    <tr>
        <td>
            <asp:DataGrid ID="drgList" runat="server" AutoGenerateColumns="false" ItemStyle-Font-Names="Arial" ItemStyle-Font-Size="10pt" 
            HeaderStyle-Font-Names="Arial" HeaderStyle-Font-Size="10pt" HeaderStyle-Font-Bold="true">
            <Columns>
                <asp:TemplateColumn HeaderText="No">
                    <ItemTemplate>
                        <a href="reports.aspx?vno=<%#Eval("VoucherNumber")%>&rpt=<%=Request.QueryString("mode") %>" ><%#Eval("VoucherNumber")%></a>
                    </ItemTemplate>
                </asp:TemplateColumn>
                <asp:BoundColumn DataField="VoucherDate" HeaderText="Date" ItemStyle-Width="70px"></asp:BoundColumn>
                <asp:BoundColumn DataField="Description" HeaderText="Description" ItemStyle-Width="450px"></asp:BoundColumn>
                <asp:BoundColumn DataField="TransactionType" HeaderText="Head of Accounts" ItemStyle-Width="150px"></asp:BoundColumn>
                <asp:BoundColumn DataField="PersonName" HeaderText="Name" ItemStyle-Width="100px"></asp:BoundColumn>
                <asp:BoundColumn DataField="ReceiptCash" HeaderText="Cash Reciept" ItemStyle-Width="100px"></asp:BoundColumn>
                <asp:BoundColumn DataField="ReceiptBank" HeaderText="Bank Reciept" ItemStyle-Width="100px"></asp:BoundColumn>
                <asp:BoundColumn DataField="PaymentCash" HeaderText="Cash Payment" ItemStyle-Width="100px"></asp:BoundColumn>
                <asp:BoundColumn DataField="PaymentBank" HeaderText="Bank Payment" ItemStyle-Width="100px"></asp:BoundColumn>
                <asp:BoundColumn DataField="PaymentWithdrawn" HeaderText="Withdrawn" ItemStyle-Width="100px"></asp:BoundColumn>
                
            </Columns>
        </asp:DataGrid>
        </td>
    </tr>

</table>

</asp:Content>

